class Urls {
  ////发布地址
  static const PUB_BASE_URL = 'https://www.bangnigou.xyz/agroApi/';

  static const BASE_URL =
      'http://192.168.3.9:9999/agroApi/';
  // static const BASE_URL =
  //     'https://h6hqtg1g6suj.ngrok.xiaomiqiu123.top/agroApi/';
  // static const BASE_URL =
  //     'https://www.bangnigou.xyz/agroApi/';

  static const DOMAIN = 'https://www.bangnigou.xyz';

  ////用户协议
  static const AGREEMENT = 'https://www.bangnigou.xyz/web/agreement.html';

  ////隐私政策
  static const PRIVATE_INFO =
      'https://www.bangnigou.xyz/web/privacyPolicy.html';

  /// 获取支付信息
  static const getPayInfo = "logic/pay/appPay";

  ///查询订单支付状态
  static const getOrderPayStatus = "logic/pay/queryPayStatus";

  ///获取版本信息
  static const upgrade = "logic/upgrade/latest";

  ///根据订单状态获取订单
  static const getOrderList = "logic/order/user/preOrderPage";

  ///根据订单id获取详情
  static const orderDetail = "logic/order/user/orderDetail";

  ///确认订单
  static const confirmOrder = "logic/order/user/confirmOrder";

  ///退款订单
  static const refundOrder = "logic/order/refundOrder";

  ///删除订单
  static const delOrder = "logic/order/user/delOrder";

  /// 获取验证码
  static const sendSms = "logic/smsRecord/sendSms";

  ///banner轮播图
  static const bannerList = "logic/banner/list";

  /// 注册
  static const signUp = "logic/user/register";

  ///修改密码
  static const modPwd = "logic/user/modPwd";

  /// 登录
  static const login = "logic/user/login";

  ///获取token验证
  static const token = "oauth2/token";

  ///注销账号
  static const unregister = "logic/user/unRegister";

  /// 获取商品类别
  static const getGoodsType = "logic/goodsCategory/getCategoryList";

  /// 获取首页为你推荐商品列表
  static const getRecommendGoodsList =
      "logic/recommendGoods/app/getRecommendPage";

  /// by商品类别获取商品列表
  static const getGoodsALl = "logic/goods/getCategoryGoodsPage";

  /// 店铺列表
  static const getBusinessList = "goodsApp/getBusinessList.do";

  /// by店铺查询商品列表
  static const getBusinessGoodsList = "goodsApp/getBusinessGoodsList.do";

  /// 商品详情
  static const getGoods = "logic/goods/goodsDetail";

  /// 添加购物车
  static const cartAdd = "logic/cart/addCart";

  /// 购物车列表
  static const cartList = "logic/cart/getCartList";

  ///删除购物车
  static const clearCart = "logic/cart/delCart";

  ///获取商品分页
  static const getGoodsPage = "logic/goods/getGoodsPage";

  ///关注取消店铺
  static const updFollowStatus = "goodsApp/updFollowStatus.do";

  ///获取关注店铺列表
  static const getFollowList = "goodsApp/getFollowList.do";

  ///提交订单
  static const commitOrder = "logic/order/commitOrder";

  ///新增编辑地址
  static const addAdress = "logic/address/addAddress";

  ///删除地址
  static const deleteAdress = "logic/address/delAddress";

  ///获取地址列表
  static const getAdress = "logic/address/getAddressList";
}
